home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility2 / wshel202.zip / ADD_CMDS.ZIP / README.TXT < prev    next >
Text File  |  1992-05-26  |  2KB  |  43 lines

  1.                 CREATING NEW COMMANDS FOR THE WINDOWS SHELL
  2.  
  3. WHAT THIS IS
  4.  
  5. This directory contains the files neccessary for getting started on
  6. creating new external commands for WINSHELL.  The EXAMPLE subdirectory
  7. contains the code used for an actual shell command used by WINSHELL.
  8.  
  9. WHAT YOU NEED
  10.  
  11. To create commands for WINSHELL, you need a Windows Compatible C compiler
  12. (ex MSC 5.1, Borland C), as well as the Software Development Kit (SDK) for
  13. Windows or a compatible kit.  The GENERIC command and the example command
  14. were designed for use with MSC 5.1 and the Windows SDK.
  15.  
  16. THE GENERIC PROGRAM FILES
  17.  
  18. The generic command is provided as a template for creating new WINSHELL 
  19. commands.  The files included are:
  20.  
  21. generic.c               C functions for the commands
  22. generic.h               C header file
  23. generic.def             Module Defination File
  24. generic.lnk             Link information for MSC linker
  25. generic.res             Resource file containing the dialog boxes
  26. wslib.h                 Header file for accessing WSLIB functions 
  27.                         (WSLIB.DLL is provided with WINSHELL.  It provides
  28.                         several functions usefull to shell applications.
  29. wstdio.h                Header file for communicating with WSTDIO window.
  30.                         This window provides the command line interface,
  31.                         and provides functions for reading text, writing text,
  32.                         and many more.
  33.  
  34. GETTING STARTED
  35.  
  36. Writing WINSHELL external commands is pretty easy.  First orient yourself
  37. with the available character I/O functions by browsing the WSTDIO.H file.  
  38. The macros are provided for accessing these functions via windows messages.
  39. If you have not already, review Appendix A of WINSHELL.DOC or WINSHELL.WRI.
  40. Finally review the GENERIC program and the example program.
  41.  
  42. Hopefully, this will be enough to get you started.
  43.